package mr.fresh.entity.manange;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import mr.fresh.api.BaseEntity;

import java.util.Date;

@Data
public class FreshCategory extends BaseEntity {
    @ApiModelProperty(value = "主键(自增id)")
    private Integer categoryId;

    @ApiModelProperty(value = "分类编码")
    private String categoryCode;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "父级id")
    private Integer parentId;

    @ApiModelProperty(value = "是否末级")
    private Byte isEnd;

    @ApiModelProperty(value = "是否顶级")
    private Byte isTop;

    @ApiModelProperty(value = "上下架（1上架，2下架)")
    private Byte categoryStatus;
}